package com.atguigu.gmall.order.config;

import com.atguigu.gmall.serviceutil.annotation.EnableAppFeignInterceptor;
import com.atguigu.gmall.serviceutil.annotation.EnableAppGlobalException;
import com.atguigu.gmall.serviceutil.annotation.EnableAppThreadPool;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author A
 * @version 1.0
 * @description: TODO
 * @date 2025/9/11 20:55
 */
@EnableRabbit
@EnableTransactionManagement
@EnableAppGlobalException
@EnableAppThreadPool
@EnableAppFeignInterceptor
@EnableFeignClients({"com.atguigu.gmall.feign.product","com.atguigu.gmall.feign.user"
        ,"com.atguigu.gmall.feign.ware","com.atguigu.gmall.feign.pay"
        ,"com.atguigu.gmall.feign.cart"})
@Configuration
@MapperScan("com.atguigu.gmall.order.mapper")
public class OrderConfig {
}
